InsertAudioTrack method

Add an audio file/track to the audio image. The audio file must be a valid .wav file for the method to succeed. If the Track parameter is numerically out of sequence with the current image tracks, it will be assigned to the next open track number. If a track is inserted between two existing tracks, all subsequent tracks will be shifted to accommodate the new track. EnumerateAudioTracks can be called at any time to get the track information for all tracks.

Files must be in the following format:

16 Bit / Stereo / 44.1khz .wav files.

Return Type

A Boolean value.

Syntax

object.InsertAudioTrack(sFileName As String, lTrack As Long)

The InsertAudioTrack method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterPro.
sFileName String
lTrack Long